import { Controller, Post } from '@nestjs/common';
import { OssService } from './oss.service';

@Controller('oss')
export class OssController {
  constructor(private readonly ossService: OssService) {}
  @Post('/get_sts_token_for_oss_upload')
  async getStsTokenForOssUpload() {
    return await this.ossService.getStsTokenForOssUpload();
  }
}
